
Ext.define('GlobalData', {
    singleton: true,
    currentUserId: -1,
    currentUser:null,
    currentSpot: null,
    currentTrip : null,
    currentApp : null,
    currentController : null,
    
    storeChoiceLanguage: Ext.create('Ext.data.Store', {
                                fields: ['codeLang', 'labelLang'],
                                data :  [
                                            {codeLang:"FR", labelLang:"Francais"},
                                            {codeLang:"EN", labelLang:"Anglais"},
                                            {codeLang:"DE", labelLang:"Allemand"}
                                        ]
                            })
});